package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ReferentialTriggeredAction {

    private int beginIndex;
    private int endIndex;
    private DeleteRule deleteRule;
    private UpdateRule updateRule;

    public ReferentialTriggeredAction(int beginIndex, int endIndex, DeleteRule deleteRule, UpdateRule updateRule) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.deleteRule = deleteRule;
        this.updateRule = updateRule;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public DeleteRule getDeleteRule() {
        return deleteRule;
    }

    public UpdateRule getUpdateRule() {
        return updateRule;
    }

}
